package com.example.database.service;

import com.example.database.entity.AdmissionForm;
import com.example.database.entity.LeavingForm;
import jakarta.servlet.http.HttpSession;

import java.util.List;

public interface ClassInstructorService
{
    boolean login(Integer teacherId, String password, HttpSession session);

    // 查询一个班级的进校申请
    List<AdmissionForm> findAdmissionFormByClass(Integer classId);

    // 查询一个班级的离校申请
    List<LeavingForm> findLeavingFormByClass(Integer classId);

    // 班级管理员处理进校申请
    Boolean processAdmissionFormByClassInstructor(Integer formId,boolean operation,String approveTime);

    // 班级管理员处理离校申请
    Boolean processLeavingFormByClassInstructor(Integer formId,boolean operation,String approveTime);
}
